export const repeat=(arr)=>{
	for (let i = 0; i < arr.length; i++) {
	    for (let j = i + 1; j < arr.length; j++) {
	        if (arr[i]._id == arr[j]._id) {
	            let index = arr.indexOf(arr[j])
	            console.log(index)
	            arr.splice(index, 1)
	        }
	
	    }
	}
	return arr
}

